package com.karson.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.karson.common.model.TagInfo;
import com.karson.common.request.TagRequest;
import com.karson.common.response.TagResponse;

public interface TagInfoService  extends IService<TagInfo> {

    IPage<TagResponse> pageList(IPage<TagResponse> tagInfoPage);

    boolean saveTag(TagInfo request);

    Boolean removeTag(Integer id);

    boolean update(TagRequest request);

    TagResponse getTagStat(Integer albumId, Integer tagId);

    void changeTagStat(Integer albumId, Integer tagId, String type);

    Boolean addTag(Integer albumId, Integer tagId);

    Boolean operationWorkCount(Integer id,Integer num,String type);
}
